package com.zijing2333.adaptivescheduling.SwitcherManager.flow;

import java.io.DataInputStream;
import java.io.DataOutputStream;

public interface ISocketDataFlow<T> {

    void write(DataOutputStream dos, T ServiceName,T type,T data);

    T read(DataInputStream dis);
}
